.class public Les/bd0;
.super Ljava/lang/Object;
.source "FileInformationFactory.java"


# direct methods
.method public static a(Lcom/hierynomus/protocol/commons/buffer/Buffer$b;)Les/ad0;
    .locals 13
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/protocol/commons/buffer/Buffer$BufferException;
        }
    .end annotation

    .line 22
    invoke-static {p0}, Lcom/hierynomus/msdtyp/a;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/Date;

    move-result-object v0

    .line 23
    invoke-static {p0}, Lcom/hierynomus/msdtyp/a;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/Date;

    move-result-object v1

    .line 24
    invoke-static {p0}, Lcom/hierynomus/msdtyp/a;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/Date;

    .line 25
    invoke-static {p0}, Lcom/hierynomus/msdtyp/a;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/Date;

    .line 26
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->i()J

    move-result-wide v5

    const/4 v2, 0x4

    .line 27
    invoke-virtual {p0, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    const/16 v3, 0x8

    .line 28
    invoke-virtual {p0, v3}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 29
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->k()J

    move-result-wide v7

    .line 30
    invoke-virtual {p0, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    const/4 v4, 0x1

    .line 31
    invoke-virtual {p0, v4}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 32
    invoke-virtual {p0, v4}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    const/4 v4, 0x2

    .line 33
    invoke-virtual {p0, v4}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 34
    invoke-virtual {p0, v3}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->e(I)[B

    move-result-object v9

    .line 35
    invoke-virtual {p0, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 36
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->i()J

    move-result-wide v10

    .line 37
    invoke-virtual {p0, v3}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 38
    invoke-virtual {p0, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 39
    invoke-virtual {p0, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 40
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->i()J

    move-result-wide v2

    const-string v12, "UTF-16LE"

    .line 41
    invoke-static {v12}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;

    move-result-object v12

    long-to-int v3, v2

    div-int/2addr v3, v4

    invoke-virtual {p0, v12, v3}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a(Ljava/nio/charset/Charset;I)Ljava/lang/String;

    move-result-object v3

    .line 42
    new-instance p0, Les/ad0;

    move-object v2, p0

    move-object v4, v9

    move-wide v9, v10

    invoke-direct/range {v2 .. v10}, Les/ad0;-><init>(Ljava/lang/String;[BJJJ)V

    .line 43
    invoke-virtual {p0, v0}, Les/ad0;->a(Ljava/util/Date;)V

    .line 44
    invoke-virtual {p0, v1}, Les/ad0;->b(Ljava/util/Date;)V

    return-object p0
.end method

.method public static a([BLcom/hierynomus/msfscc/FileInformationClass;)Ljava/util/List;
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "([B",
            "Lcom/hierynomus/msfscc/FileInformationClass;",
            ")",
            "Ljava/util/List<",
            "Les/ad0;",
            ">;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/protocol/commons/buffer/Buffer$BufferException;
        }
    .end annotation

    .line 11
    new-instance v0, Lcom/hierynomus/protocol/commons/buffer/Buffer$b;

    sget-object v1, Lcom/hierynomus/protocol/commons/buffer/a;->a:Lcom/hierynomus/protocol/commons/buffer/a;

    invoke-direct {v0, p0, v1}, Lcom/hierynomus/protocol/commons/buffer/Buffer$b;-><init>([BLcom/hierynomus/protocol/commons/buffer/a;)V

    .line 12
    new-instance p0, Ljava/util/ArrayList;

    invoke-direct {p0}, Ljava/util/ArrayList;-><init>()V

    const/4 v1, 0x0

    .line 13
    :cond_0
    invoke-virtual {v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->i()J

    move-result-wide v2

    long-to-int v3, v2

    .line 14
    invoke-virtual {v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->i()J

    .line 15
    sget-object v2, Les/bd0$a;->a:[I

    invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I

    move-result v4

    aget v2, v2, v4

    const/4 v4, 0x1

    if-eq v2, v4, :cond_2

    const/4 v4, 0x2

    if-ne v2, v4, :cond_1

    .line 16
    invoke-static {v0}, Les/bd0;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer$b;)Les/ad0;

    move-result-object v2

    goto :goto_0

    .line 17
    :cond_1
    new-instance p0, Ljava/lang/IllegalArgumentException;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "FileInformationClass not supported - "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p0

    .line 18
    :cond_2
    invoke-static {v0}, Les/bd0;->b(Lcom/hierynomus/protocol/commons/buffer/Buffer$b;)Les/ad0;

    move-result-object v2

    .line 19
    :goto_0
    invoke-virtual {v2}, Les/ad0;->c()Ljava/lang/String;

    move-result-object v4

    const-string v5, "."

    invoke-virtual {v5, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_3

    invoke-virtual {v2}, Les/ad0;->c()Ljava/lang/String;

    move-result-object v4

    const-string v5, ".."

    invoke-virtual {v5, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_3

    .line 20
    invoke-interface {p0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_3
    add-int/2addr v1, v3

    .line 21
    invoke-virtual {v0, v1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->f(I)V

    if-nez v3, :cond_0

    return-object p0
.end method

.method public static a(Z)[B
    .locals 2

    .line 8
    new-instance v0, Lcom/hierynomus/protocol/commons/buffer/Buffer$b;

    sget-object v1, Lcom/hierynomus/protocol/commons/buffer/a;->a:Lcom/hierynomus/protocol/commons/buffer/a;

    invoke-direct {v0, v1}, Lcom/hierynomus/protocol/commons/buffer/Buffer$b;-><init>(Lcom/hierynomus/protocol/commons/buffer/a;)V

    int-to-byte p0, p0

    .line 9
    invoke-virtual {v0, p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a(B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 10
    invoke-virtual {v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->d()[B

    move-result-object p0

    return-object p0
.end method

.method public static a(ZLjava/lang/String;)[B
    .locals 3

    .line 1
    new-instance v0, Lcom/hierynomus/protocol/commons/buffer/Buffer$b;

    sget-object v1, Lcom/hierynomus/protocol/commons/buffer/a;->a:Lcom/hierynomus/protocol/commons/buffer/a;

    invoke-direct {v0, v1}, Lcom/hierynomus/protocol/commons/buffer/Buffer$b;-><init>(Lcom/hierynomus/protocol/commons/buffer/a;)V

    int-to-byte p0, p0

    .line 2
    invoke-virtual {v0, p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a(B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    const/4 p0, 0x7

    new-array p0, p0, [B

    .line 3
    fill-array-data p0, :array_0

    invoke-virtual {v0, p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a([B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    const-wide/16 v1, 0x0

    .line 4
    invoke-virtual {v0, v1, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->c(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 5
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result p0

    mul-int/lit8 p0, p0, 0x2

    int-to-long v1, p0

    invoke-virtual {v0, v1, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    const-string p0, "UTF-16LE"

    .line 6
    invoke-static {p0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;

    move-result-object p0

    invoke-virtual {p1, p0}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B

    move-result-object p0

    invoke-virtual {v0, p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a([B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 7
    invoke-virtual {v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->d()[B

    move-result-object p0

    return-object p0

    nop

    :array_0
    .array-data 1
        0x0t
        0x0t
        0x0t
        0x0t
        0x0t
        0x0t
        0x0t
    .end array-data
.end method

.method public static b(Lcom/hierynomus/protocol/commons/buffer/Buffer$b;)Les/ad0;
    .locals 10
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/protocol/commons/buffer/Buffer$BufferException;
        }
    .end annotation

    .line 1
    invoke-static {p0}, Lcom/hierynomus/msdtyp/a;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/Date;

    .line 2
    invoke-static {p0}, Lcom/hierynomus/msdtyp/a;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/Date;

    .line 3
    invoke-static {p0}, Lcom/hierynomus/msdtyp/a;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/Date;

    .line 4
    invoke-static {p0}, Lcom/hierynomus/msdtyp/a;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/Date;

    .line 5
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->k()J

    move-result-wide v5

    const/16 v0, 0x8

    .line 6
    invoke-virtual {p0, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->e(I)[B

    .line 7
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->i()J

    move-result-wide v3

    .line 8
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->i()J

    move-result-wide v1

    .line 9
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->i()J

    .line 10
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->e()B

    .line 11
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->e()B

    const/16 v7, 0x18

    .line 12
    invoke-virtual {p0, v7}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->e(I)[B

    .line 13
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g()I

    .line 14
    invoke-virtual {p0, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->e(I)[B

    move-result-object v7

    const-string v0, "UTF-16LE"

    .line 15
    invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;

    move-result-object v0

    long-to-int v2, v1

    div-int/lit8 v2, v2, 0x2

    invoke-virtual {p0, v0, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a(Ljava/nio/charset/Charset;I)Ljava/lang/String;

    move-result-object v1

    .line 16
    new-instance p0, Les/ad0;

    const-wide/16 v8, 0x0

    move-object v0, p0

    move-object v2, v7

    move-wide v7, v8

    invoke-direct/range {v0 .. v8}, Les/ad0;-><init>(Ljava/lang/String;[BJJJ)V

    return-object p0
.end method
